﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;

namespace RemoteServer.Framework.Method
{
    class MethodBase
    {
        public string ApiID { get; set; }
        public string Sig { get; set; }
        public string Timestamp { get; set; }
        public string Random { get; set; }
        public string MethodName { get; set; }
        public KeyValuePair<string, string> Parameters { get; set; }

        public MethodBase(string timestamp)
        {
            this.Parameters = new KeyValuePair<string, string>();
            this.Timestamp = timestamp;
        }

        public virtual void Init()
        { 

        }

        private void GenerateSig() 
        { 

        }

        private void Sort()
        { 

        }

    }
}
